package com.wecan.components.oss.DTO;

import com.wecan.base.enums.OssUploadType;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author liuzhihao
 * @Date 2022.04.26
 * @Version ${version}
 * @Description ${description}
 */
@Data
public class OssPolicyDTO {

    @NotNull(message = "类型不能为空")
    private OssUploadType type;

    @NotNull(message = "文件类型不能为空")
    private String fileKey;

    @NotNull(message = "文件名不能为空")
    private String fileName;
}
